class Person:
    def own(self,pet):
        if isinstance(pet,Animal):
            pet.feed()